package com.example.benefitcommunity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.util.Date;
import java.io.Serializable;

/**
 * 评论表(BcComment)实体类
 *
 * @author makejava
 * @since 2025-08-27 16:40:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("bc_comment")
public class BcComment implements Serializable {
    @Serial
    private static final long serialVersionUID = 944656785002116473L;

    /**
     * 回复id
     */
    private Integer id;
    /**
     * 动态id
     */
    private Integer dynamicid;
    /**
     * 评论
     */
    private String comment;
    /**
     * 用户id
     */
    private String userid;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createtime;

    /**
     * 昵称
     */
    private String nickname;
    /**
     * 头像
     */
    private String head;


}

